import httpInstance from "@/utils/axios.js";

//查询所有答题的题目信息
export function getQuestionApi(){
    return httpInstance.get('/question/showQuestion')
}

//新增答题的题目信息
export function addQuestion(data){
    return httpInstance.post('/question/addQuestion',data)
}

//修改答题的题目信息
export function updateQuestion(data){
    return httpInstance.put('/question/updateQuestion',data)
}

//删除答题的题目信息
export function deleteQuestion(data){
    return httpInstance.delete('/question/deleteQuestion',data)
}
